CMP#.VAL

Description

CMP#.VAL is the sampled value of the compare channel source. It reports the value after the channel’s modulo function is applied if CMP#.MODEN = 1. Otherwise it reports the unmodified value of the source. Its scaling depends on CMP#.SOURCE.

  CMP#.MODEN
0 1
CMP#.SOURCE 1-10

FB#.P without modification

FB#.P with modulo

11-12

AXIS#.PL.FB without modification

AXIS#.PL.FB with modulo

Examples

Usage

Code

These commands read the values for channel 1 and channel 2. In this example the units for CMP1.VAL are deg, and the units of CMP2.VAL are feedback counts.

--> CMP1.SOURCE 12
--> AXIS1.UNIT.PROTARY 2
--> CMP1.VAL
-749.205
--> CMP2.SOURCE 3
--> CMP2.VAL
493626.000

Context

See Compare Engines View.

Versions

Action Version Notes
Implemented 02-06-00-000  

General Information

Type

Read Only

Units

Depends upon CMP#.SOURCE

Range

Full position range

Default Value

N/A

Data Type

Float

See Also

 

Stored in Non-Volatile Memory

No

Variants Supported

All variants are supported.

Industrial Ethernet Information

EtherCAT CoE and CANopen

Command

Index

SubIndex

Data Type

Units

Float Scale

Access

PDO Mappable

CMP1.VAL

4500h

06h

Signed32

-

1000:1

Read only

No

CMP2.VAL

4501h

06h

Signed32

-

1000:1

Read only

No

EtherNet/IP

ID

Instance

Attribute

Name

Data Type

Access

User Mappable

31440

1

31440 (0x7ad0)

CMP1.VAL

Signed32

Read Only

Yes

31441

1

31441 (0x7ad1)

CMP2.VAL

Signed32

Read Only

Yes

PROFINET

Parameter

PNU

Data Type

Access

Units

CMP1.VAL

31440

Signed32

Read Only

Position

CMP2.VAL

31441

Signed32

Read Only

Position